(function(){var getDG=function(){var x={};return x;};var getP=function(){var x={};try{x['-1435858496']=['a[id=\'cookie_action_close_header\']', 'div.newsletter-acton-form-rightsidebar'];x['1930768224']=x['-1435858496'];x['326071488']=['div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-e1d3e78 desktop-show\" data-id=\"e1d3e78\" data-element_type=\"column\"', 'div.elementor-widget-container > p', 'div.newsletter-acton-form-rightsidebar'];x['-111530592']=x['326071488'];x['-697530816']=['div class=\"elementor-column elementor-col-25 elementor-top-column elementor-element elementor-element-e82b38e desktop-show\" data-id=\"e82b38e\" data-element_type=\"column\"', 'div id=\"xyz_insert_php_widget-8\" class=\"widget widget_xyz_insert_php_widget\"', 'div.elementor-element-e82b38e', 'div.elementor-widget-container > p', 'div[id=\'xyz_insert_php_widget-8\']'];x['108592992']=x['-697530816'];x['-861478016']=['div.elementor-element-3669fa7 > div.elementor-widget-container > h2', 'div.elementor-widget-container > p', 'div.newsletter-acton-form-rightsidebar'];x['1908587680']=x['-861478016'];x['-1639659136']=['div.elementor-widget-container > p', 'div.newsletter-acton-form-rightsidebar'];x['693823456']=x['-1639659136'];x['-1642560320']=x['-1639659136'];x['-1090044672']=x['-1639659136'];x['-1984550432']=x['-1639659136'];x['326722208']=x['-1639659136'];x['1383881344']=x['-1639659136'];x['128733440']=x['-1639659136'];x['582088608']=x['-1639659136'];x['1522734848']=x['-1639659136'];x['-1040885024']=x['-1639659136'];x['-780953280']=x['-1639659136'];x['855448864']=x['-1639659136'];x['-815957344']=x['-1639659136'];x['-1472415008']=x['-1639659136'];x['-1955377952']=x['-1639659136'];x['259345696']=x['-1639659136'];x['-1428028800']=x['-1639659136'];x['1993798592']=x['-1639659136'];x['1834373504']=x['-1639659136'];x['-234032320']=x['-1639659136'];x['-1925005920']=x['-1639659136'];x['117081824']=x['-1639659136'];x['1913674752']=x['-1639659136'];x['1763300128']=x['-1639659136'];x['1567884000']=x['-1639659136'];x['1511797120']=x['-1639659136'];x['-304483488']=x['-1639659136'];x['1632125984']=x['-1639659136'];x['462537408']=x['-1639659136'];x['50445792']=x['-1639659136'];x['948285152']=x['-1639659136'];x['-2058109056']=x['-1639659136'];x['27103488']=x['-1639659136'];x['-1801348896']=x['-1639659136'];x['1067538080']=x['-1639659136'];x['465226624']=x['-1639659136'];x['733656512']=x['-1639659136'];x['-1123470368']=x['-1639659136'];x['186407296']=x['-1639659136'];x['-1326657920']=x['-1639659136'];x['1829321920']=x['-1639659136'];x['-1169378240']=x['-1639659136'];x['1787608384']=x['-1639659136'];x['1867930528']=x['-1639659136'];x['1807870752']=x['-1639659136'];x['570252448']=x['-1639659136'];x['-611377632']=x['-1639659136'];x['-1089579840']=x['-1639659136'];x['1791943488']=x['-1639659136'];x['-544394400']=x['-1639659136'];x['-853527296']=x['-1639659136'];x['-1862112704']=x['-1639659136'];x['-1968027424']=x['-1639659136'];x['715066944']=x['-1639659136'];x['772568160']=['div.newsletter-acton-form-rightsidebar', 'section.elementor-element-720b4e1 > div.elementor-container > div.elementor-column > div.elementor-widget-wrap > div.elementor-element'];x['-2094592128']=x['772568160'];x['901680768']=['div.newsletter-acton-form-rightsidebar', 'section.elementor-element-7533f5a3 > div.elementor-container > div.elementor-column > div.elementor-widget-wrap > div.elementor-element'];x['-187006816']=x['901680768'];x['438764224']=['div.newsletter-acton-form-rightsidebar'];x['1461910304']=x['438764224'];x['-1214170144']=x['438764224'];x['-1481413824']=x['438764224'];}catch(err){}return x;};(function(k){window.blueConicPreListeners=[];(function(){var k=!1,ua=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.BCClass=function(){};BCClass.extend=function(L){function N(){!k&&this.init&&this.init.apply(this,arguments)}var X=this.prototype;k=!0;var va=new this;k=!1;for(var O in L)va[O]="function"==typeof L[O]&&"function"==typeof X[O]&&ua.test(L[O])?function(k,D){return function(){var O=this._super;this._super=X[k];var Q=D.apply(this,arguments);this._super=O;return Q}}(O,L[O]):L[O];N.prototype= va;N.constructor=N;N.extend=arguments.callee;return N}})();var InteractionType=BCClass.extend({init:function(){},getPreloadProperties:function(){return [];},getContent:function(){},onEvent:function() {},importLibraries:function(urls) {blueConic.fn.importLibraries.call(this, urls);}});(function(){var InteractionTypeImpl=InteractionType.extend({blueConicClient:null,context:null,_profile:null,_userLanguage:null,_systemLanguage:null,_language:null,_referrer:null,_hostName:null,_currentUrl:null,_domain:null,ORIGIN_TYPES:{WEB:"web",MOBILE_WEB:"mobile_web",CONNECTION:"connection",MOBILE:"mobile_app"},CONSTANTS:{THIRTY_MINUTES_IN_MS:18e5,UNKNOWN:""},PROFILE_PROPERTIES:{CLICKCOUNT:"clickcount",VISITS:"visits",VISITCLICKS:"visitclicks",LASTVISITDATE:"lastvisitdate",VISITEDSITES:"visitedsites",VISITEDDOMAIN:"visiteddomain",ENTRYPAGE:"entrypage",REFERRERHOST:"referrerhost",REFERRERHOSTS:"referrerhosts",HOSTENTRYPAGE:"hostentrypage",HOSTAVERAGETIME:"hostaveragetime",LASTREFERRERAVERAGE:"lastreferreraverage",AVERAGETIME:"averagetime",TOTALVISITTIME:"totalvisittime",RESOLUTION:"resolution",CURRENTRESOLUTION:"currentresolution",CURRENTSCREENWIDTH:"currentscreenwidth",CURRENTSCREENHEIGHT:"currentscreenheight",ORIGIN_TYPE:"origin_type",ORIGIN_SOURCE:"origin_source",ORIGIN_DETAIL:"origin_detail",DEVICETYPE:"devicetype",RECEIVED_FROM_SYSTEM:"received_from_system",RECEIVED_FROM_CONNECTION:"received_from_connection",MOBILE_APP_ID:"mobile_app_id",MOBILE_APP_NAMEVERSION:"mobile_app_nameversion",LANGUAGE:"language",KEYWORDS:"keywords",CURRENTKEYWORDS:"currentkeywords",CURRENT_UTM_SOURCE:"current_utm_source",CURRENT_UTM_MEDIUM:"current_utm_medium",CURRENT_UTM_TERM:"current_utm_term",CURRENT_UTM_CONTENT:"current_utm_content",CURRENT_UTM_CAMPAIGN:"current_utm_campaign",UTM_SOURCE:"utm_source",UTM_MEDIUM:"utm_medium",UTM_TERM:"utm_term",UTM_CONTENT:"utm_content",UTM_CAMPAIGN:"utm_campaign"},PROFILE_PROPERTIES_FOR_CHANNEL:{},init:function(e,t){this.blueConicClient=e,this.context=t,this._profile=e.profile.getProfile(),this._channelId=e.getChannelId(),this._referrer=document.referrer,this._hostName=window.location.hostname,this._currentUrl=window.location.href,this._domain=document.domain,this._userLanguage=window.navigator.userLanguage,this._systemLanguage=navigator.systemLanguage,this._language=window.navigator.language,this.PROFILE_PROPERTIES_FOR_CHANNEL={CLICKCOUNT:this.PROFILE_PROPERTIES.CLICKCOUNT+"_"+this._channelId,VISITS:this.PROFILE_PROPERTIES.VISITS+"_"+this._channelId,VISITCLICKS:this.PROFILE_PROPERTIES.VISITCLICKS+"_"+this._channelId,LASTVISITDATE:this.PROFILE_PROPERTIES.LASTVISITDATE+"_"+this._channelId}},onPrepare:function(){this._profile&&(this._setLanguageProperties(),this._setResolutionProperties(),this._setReferrerProperties(),this._setCampaignProperties())},onLoad:function(){this._profile&&(this._setReferrerHostOnLoad(),this._setVisitProperties(),this._setOriginProperties(),this.blueConicClient.profile.updateProfile())},getPreloadProperties:function(){return[this.PROFILE_PROPERTIES.CLICKCOUNT,this.PROFILE_PROPERTIES.VISITS,this.PROFILE_PROPERTIES.VISITCLICKS,this.PROFILE_PROPERTIES.LASTVISITDATE,this.PROFILE_PROPERTIES.VISITEDSITES,this.PROFILE_PROPERTIES.ENTRYPAGE,this.PROFILE_PROPERTIES.HOSTENTRYPAGE,this.PROFILE_PROPERTIES.HOSTAVERAGETIME,this.PROFILE_PROPERTIES.LASTREFERRERAVERAGE,this.PROFILE_PROPERTIES.AVERAGETIME,this.PROFILE_PROPERTIES.TOTALVISITTIME,this.PROFILE_PROPERTIES.RESOLUTION,this.PROFILE_PROPERTIES.DEVICETYPE,this.PROFILE_PROPERTIES.ORIGIN_TYPE,this.PROFILE_PROPERTIES.ORIGIN_SOURCE,this.PROFILE_PROPERTIES.ORIGIN_DETAIL,this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM,this.PROFILE_PROPERTIES.RECEIVED_FROM_CONNECTION,this.PROFILE_PROPERTIES.VISITEDDOMAIN,this.PROFILE_PROPERTIES.MOBILE_APP_ID,this.PROFILE_PROPERTIES.MOBILE_APP_NAMEVERSION,this.PROFILE_PROPERTIES_FOR_CHANNEL.CLICKCOUNT,this.PROFILE_PROPERTIES_FOR_CHANNEL.VISITS,this.PROFILE_PROPERTIES_FOR_CHANNEL.VISITCLICKS,this.PROFILE_PROPERTIES_FOR_CHANNEL.LASTVISITDATE]},_setLanguageProperties:function(){var e=this._userLanguage||this._systemLanguage||this._language,t=this._normalizeLocale(e).split("-")[0];t&&this._profile.setValue(this.PROFILE_PROPERTIES.LANGUAGE,t)},_normalizeLocale:function(e){return e&&e.replace("_","-").toLowerCase()},_setResolutionProperties:function(){var e=screen.width,t=screen.height;this._profile.setValue(this.PROFILE_PROPERTIES.CURRENTSCREENWIDTH,e),this._profile.setValue(this.PROFILE_PROPERTIES.CURRENTSCREENHEIGHT,t);var i=e+"x"+t;this._profile.setValue(this.PROFILE_PROPERTIES.CURRENTRESOLUTION,i),this._profile.addValue(this.PROFILE_PROPERTIES.RESOLUTION,i)},_setReferrerProperties:function(){this._setReferrerKeywords(),this._setReferrerHost()},_setReferrerKeywords:function(){var e=this.HELPER.decodeReferrer(this._referrer)||[];e.length>0&&(this._addProfileValues(this.PROFILE_PROPERTIES.KEYWORDS,e),this._profile.setValues(this.PROFILE_PROPERTIES.CURRENTKEYWORDS,e))},_addProfileValues:function(e,t){(Array.isArray(t)?t:[t]).forEach((function(t){this._profile.addValue(e,t)}),this)},_setReferrerHost:function(){var e=this._getReferrerHost();e!==this._hostName&&(this._profile.setValue(this.PROFILE_PROPERTIES.ENTRYPAGE,this._currentUrl),e&&(this._profile.setValue(this.PROFILE_PROPERTIES.REFERRERHOST,e),this._profile.addValue(this.PROFILE_PROPERTIES.REFERRERHOSTS,e)))},_setReferrerHostOnLoad:function(){var e=this._getReferrerHost();e!==this._hostName&&this._setHostEntryPageProperty(),this._setHostTotalAndAverageTimeProperty(this._hostName,e)},_getReferrerHost:function(){return this._referrer.replace(/http[s]?:\/\/(.*?)(:|\?|\/|$).*/,"$1")},_setCampaignProperties:function(){[this.PROFILE_PROPERTIES.UTM_SOURCE,this.PROFILE_PROPERTIES.UTM_MEDIUM,this.PROFILE_PROPERTIES.UTM_TERM,this.PROFILE_PROPERTIES.UTM_CONTENT,this.PROFILE_PROPERTIES.UTM_CAMPAIGN].forEach((function(e){var t=this._removeHashPart(this.HELPER._getParameterByName(this._currentUrl,e));t&&(this._profile.setValue("current_"+e,t),this._profile.addValue(e,t))}),this)},_setHostEntryPageProperty:function(){this._profile.setValue(this.PROFILE_PROPERTIES.ENTRYPAGE,this._currentUrl);var e=this._getHostEntryPageMapping();e[this._hostName]={entrypage:this._currentUrl},this._profile.setValue(this.PROFILE_PROPERTIES.HOSTENTRYPAGE,JSON.stringify(e))},_getHostEntryPageMapping:function(){return this._safeJSONParse(this._profile.getValue(this.PROFILE_PROPERTIES.HOSTENTRYPAGE))},_safeJSONParse:function(e){try{var t=e.replace(/'/g,'"');return JSON.parse(t)||{}}catch(i){return{}}},_setHostTotalAndAverageTimeProperty:function(e,t){var i=this._safeJSONParse(this._profile.getValue(this.PROFILE_PROPERTIES.HOSTAVERAGETIME));i[e]||(i[e]=this._createNewVisitData());var E=this.blueConicClient.getCurrentDate().getTime(),s=this._profile.getValue(this.PROFILE_PROPERTIES.LASTREFERRERAVERAGE),r=0,R=0,I=0;Object.keys(i).map((function(e){return e.toString()})).forEach((function(n){var _=i[n];this._isSessionExpired(_.enddate)?this._addVisit(_,_.enddate-_.startdate):n===e?_.enddate=E:n===t&&s!==t&&(_.enddate=E,this._profile.setValue(this.PROFILE_PROPERTIES.LASTREFERRERAVERAGE,t)),0!==_.averageTime&&(R++,r+=_.averageTime,I+=_.averageTime*_.visits)}),this),this._profile.setValue(this.PROFILE_PROPERTIES.HOSTAVERAGETIME,JSON.stringify(i)),this._profile.setValue(this.PROFILE_PROPERTIES.TOTALVISITTIME,I);var n=R>0?Math.round(r/R):0;this._profile.setValue(this.PROFILE_PROPERTIES.AVERAGETIME,n)},_addVisit:function(e,t){if(t>0){var i=e.averageTime*e.visits+t/1e3;e.visits++,e.averageTime=Math.round(i/e.visits)}var E=this.blueConicClient.getCurrentDate().getTime();e.startdate=E,e.enddate=E},_createNewVisitData:function(){var e=this.blueConicClient.getCurrentDate().getTime();return{startdate:e,enddate:e,averageTime:0,visits:0}},_setPropertyIfEmpty:function(e,t,i){"undefined"==typeof e[t]&&(e[t]=i)},_setVisitProperties:function(){this._addVisitedDomain(this._domain),this._increaseClickCount(),this._increaseVisits(this.PROFILE_PROPERTIES.VISITS,this.PROFILE_PROPERTIES.VISITCLICKS,this.PROFILE_PROPERTIES.LASTVISITDATE),this._channelId&&this._increaseVisits(this.PROFILE_PROPERTIES_FOR_CHANNEL.VISITS,this.PROFILE_PROPERTIES_FOR_CHANNEL.VISITCLICKS,this.PROFILE_PROPERTIES_FOR_CHANNEL.LASTVISITDATE)},_increaseVisits:function(e,t,i){e=e||this.PROFILE_PROPERTIES.VISITS,t=t||this.PROFILE_PROPERTIES.VISITCLICKS,i=i||this.PROFILE_PROPERTIES.LASTVISITDATE,this._isNewSession(e,i)?(this._resetPageViewsCurrentSession(t),this._increaseSessionCount(e)):this._increasePageViewsCurrentSession(t),this._setLastVisitDate(i,this.blueConicClient.getCurrentDate().getTime())},_setLastVisitDate:function(e,t){e=e||this.PROFILE_PROPERTIES.LASTVISITDATE,this._profile.setValue(e,t)},_addVisitedDomain:function(e){this._hasVisitedDomain(e)||this._profile.addValue(this.PROFILE_PROPERTIES.VISITEDSITES,e)},_hasVisitedDomain:function(e){var t=this._profile.getValues(this.PROFILE_PROPERTIES.VISITEDSITES)||[];return t.length>0&&-1!==t.indexOf(e)},_increaseClickCount:function(){this._profile.incrementValue(this.PROFILE_PROPERTIES.CLICKCOUNT,1),this._channelId&&this._profile.incrementValue(this.PROFILE_PROPERTIES_FOR_CHANNEL.CLICKCOUNT,1)},_isNewSession:function(e,t){e=e||this.PROFILE_PROPERTIES.VISITS,t=t||this.PROFILE_PROPERTIES.LASTVISITDATE;var i=this._getNumberProperty(e),E=this._getNumberProperty(t)||0;return 0===i||this._isSessionExpired(E)},_isSessionExpired:function(e){return this.blueConicClient.getCurrentDate().getTime()>e+this.CONSTANTS.THIRTY_MINUTES_IN_MS},_resetPageViewsCurrentSession:function(e){e=e||this.PROFILE_PROPERTIES.VISITCLICKS,this._profile.setValue(e,1)},_increasePageViewsCurrentSession:function(e){e=e||this.PROFILE_PROPERTIES.VISITCLICKS,this._profile.incrementValue(e,1)},_increaseSessionCount:function(e){e=e||this.PROFILE_PROPERTIES.VISITS,this._profile.incrementValue(e,1)},_setOriginProperties:function(){var e=this._getOriginCount();e>1?this._mergeOriginProperties():0===e&&this._resolveOriginProperties()},_getOriginCount:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.ORIGIN_TYPE)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.ORIGIN_SOURCE)||[],i=this._profile.getValues(this.PROFILE_PROPERTIES.ORIGIN_DETAIL)||[];return Math.max(e.length,t.length,i.length)},_mergeOriginProperties:function(){this._mergePropertyToUnknown(this.PROFILE_PROPERTIES.ORIGIN_TYPE),this._mergePropertyToUnknown(this.PROFILE_PROPERTIES.ORIGIN_SOURCE),this._mergePropertyToUnknown(this.PROFILE_PROPERTIES.ORIGIN_DETAIL)},_mergePropertyToUnknown:function(e){var t=this._profile.getValues(e)||[];this._profile.setValue(e,1===t.length?t[0]:this.CONSTANTS.UNKNOWN)},_resolveOriginProperties:function(){this._isVisitorOriginFromWeb()?this._resolveOriginForWebVisitor():this._isVisitorOriginFromConnection()?this._resolveOriginForProfileComingFromConnection():this._isVisitorOriginFromMobileApp()&&this._resolveOriginForMobileAppVisitor()},_isVisitorOriginFromWeb:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_ID)||[];return 0===e.length&&0===t.length},_isVisitorOriginFromMobileApp:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_ID)||[],i=this._getNumberProperty(this.PROFILE_PROPERTIES.VISITS);return t.length>0&&0===e.length&&0===i},_isVisitorOriginFromConnection:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM),t=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_ID),i=this._getNumberProperty(this.PROFILE_PROPERTIES.VISITS);return e&&e.length>0&&t&&0===t.length&&i<=0},_resolveOriginForWebVisitor:function(){var e="",t=this._profile.getValues(this.PROFILE_PROPERTIES.VISITEDSITES)||[],i=this._profile.getValue(this.PROFILE_PROPERTIES.DEVICETYPE)||"",E=this._profile.getValues(this.PROFILE_PROPERTIES.ENTRYPAGE)||[];i&&(e="PC"===i?this.ORIGIN_TYPES.WEB:this.ORIGIN_TYPES.MOBILE_WEB);var s=1===t.length?t[0]:this.CONSTANTS.UNKNOWN,r=1===E.length?E[0]:this.CONSTANTS.UNKNOWN;this._setOriginProfileProperties(e,s,r)},_resolveOriginForProfileComingFromConnection:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_SYSTEM)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.RECEIVED_FROM_CONNECTION)||[],i=1===e.length?e[0]:this.CONSTANTS.UNKNOWN,E=1===t.length?t[0]:this.CONSTANTS.UNKNOWN;this._setOriginProfileProperties(this.ORIGIN_TYPES.CONNECTION,i,E)},_resolveOriginForMobileAppVisitor:function(){var e=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_ID)||[],t=this._profile.getValues(this.PROFILE_PROPERTIES.MOBILE_APP_NAMEVERSION)||[],i=1===e.length?e[0]:this.CONSTANTS.UNKNOWN,E=1===t.length?t[0]:this.CONSTANTS.UNKNOWN;this._setOriginProfileProperties(this.ORIGIN_TYPES.MOBILE,i,E)},_setOriginProfileProperties:function(e,t,i){this._profile.setValue(this.PROFILE_PROPERTIES.ORIGIN_TYPE,e),this._profile.setValue(this.PROFILE_PROPERTIES.ORIGIN_SOURCE,t),this._profile.setValue(this.PROFILE_PROPERTIES.ORIGIN_DETAIL,i)},_removeHashPart:function(e){if(e){var t=e.indexOf("#");if(-1!==t)return e.substring(0,t)}return e},HELPER:{search_engines:[["google\\.","q"],["bing\\.","q"],["search\\.yahoo\\.","p"],["search\\.aol\\.","q"],["duckduckgo\\.","q"],["baidu\\.","wd"],["ask\\.com","q"],["search\\.lycos\\.","q"],["dogpile\\.com","q"]],substringToHash:function(e){if(e){var t=e.indexOf("#");if(-1!==t)return e.substring(0,t)}return e},decodeReferrer:function(e){for(var t=new RegExp(""),i=0;i2&&E[2]&&(r=decodeURIComponent(r)),r=(r=(r=r.replace(/'|"/g,"")).split(/[\s,+.]+/)).filter((function(e){return e}));break}}return null},_getParameterByName:function(e,t){if(!t)return"";t=t.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var i=new RegExp("[\\?&#]"+t+"=([^&#]*)").exec(e);return null===i?"":decodeURIComponent(i[1].replace(/\+/g," "))}},_getNumberProperty:function(e){var t=this._profile.getValue(e);if(!t)return 0;try{t=parseInt(t),isNaN(t)&&(t=0)}catch(i){t=0}return t}});window.blueConicPreListeners.push({id: 'listenerinteractiontype', interactionType: InteractionTypeImpl });})();})(); (function(k,hb,ua,L,N,X,va,O,ib,D){function qa(){var a=c.hash(k.location.hostname).toString();return k.location.hostname&&a in BC_HOSTNAME_MAP?"https://"+BC_HOSTNAME_MAP[a]:null}function Q(){return qa()||BC_URL}function Eb(a,b){this._id=a;this._parameters=b;this.getId=function(){return this._id};this.getParameters=function(){var a=null,b=null;for(a in this._parameters)if(b=a,R&&a&&0===a.indexOf(R))return l&&c.logInfo("Use locale ["+a+"] for connection ["+this.getId()+"]."),this._parameters[a];return null!== b?(l&&c.logInfo("Use locale ["+b+"] for connection ["+this.getId()+"]."),this._parameters[b]):null}}function Fb(a,b){this._id=a.id;this._dialogueId=a.dialogueId;this._name=a.name;this._position=a.position;this._parameters=b;this._defaultLocale=a.defaultLocale;this._interactionTypeId=a.interactionType.myId?a.interactionType.myId.toLowerCase():null;this._type=a.interactionType.myType?a.interactionType.myType.toUpperCase():null;this._positionType=a.interactionType.myPositionType?a.interactionType.myPositionType: null;this._usedLocale=null;this._isOnLoadExecuted=this._isGetContentExecuted=this._isPositionFound=!1;this._isLocalEditMode=!0===a.isLocalEditMode;this._bcClient=null;this.getInteractionId=function(){return this._id};this.getDialogueId=function(){return this._dialogueId};this.getName=function(){return this._name};this.getType=function(){return this._type};this.getPosition=function(){return this._position};this.getDOMElement=function(){var a=c.getDOMElement(this._position);a&&!this._isPositionFound&& (this._isPositionFound=!0);return a};this.isPositionFound=function(){return this._isPositionFound};this.isGetContentExecuted=function(){return this._isGetContentExecuted};this.setGetContentExecuted=function(a){this._isGetContentExecuted=a};this.isOnLoadExecuted=function(){return this._isOnLoadExecuted};this.setOnLoadExecuted=function(a){this._isOnLoadExecuted=a};this.setParameters=function(a,b){this._parameters[a]=b};this.getParameters=function(){var a,b=this.getName()?this.getName():this.getInteractionId(); for(a in this._parameters)if(R&&a&&0===a.indexOf(R))return this._usedLocale=a,l&&c.logInfo("use locale ["+a+"] for interaction ["+b+"]."),this._parameters[a];l&&c.logInfo("no parameters found for locale ["+R+"] with interaction ["+b+"].\x3cbr\x3eUsing the default locale ["+this._defaultLocale+"] instead.");this._usedLocale=this._defaultLocale;return this._parameters[this._defaultLocale]};this.getDefaultLocale=function(){return this._defaultLocale};this.getLocale=function(){return R};this.getUrlPrefix= function(){c.logDeprecated("context.getUrlPrefix","profile.getBaseURL");return c.getBaseURL(this._interactionTypeId)};this.getBaseURL=function(){return c.getBaseURL(this._interactionTypeId)};this.getInteractionTypeId=function(){return this._interactionTypeId};this.isPositionTypePlugin=function(){return"position"===this._positionType};this.getProfile=function(){return this._bcClient.profile.getProfile()};this.isLocalEditMode=function(){return this._isLocalEditMode};this.getBlueConicClient=function(){this._bcClient|| (this._bcClient=z.getBlueConicClient(this));return this._bcClient};this.getConnection=function(a){if(!a||!V||!c.isArray(V)||0===V.length)return null;for(var b=0,d=V.length;ba?"0"+a:a}function c(a){h.lastIndex= 0;return h.test(a)?'"'+a.replace(h,function(a){var b=n[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function e(a,b){var d,f,h=p,n,g=b[a];g&&"object"===typeof g&&"function"===typeof g.bcToJSON&&(g=g.bcToJSON(a));"function"===typeof E&&(g=E.call(b,a,g));switch(typeof g){case "string":return c(g);case "number":return isFinite(g)?String(g):"null";case "boolean":case "null":return String(g);case "object":if(!g)return"null";p+=r;n=[];if("[object Array]"=== Object.prototype.toString.apply(g)){f=g.length;for(a=0;a]*)\/>/ig,hash:function(a){for(var b=0,c,e=0;eb.indexOf(a)});var c,e=a.slice();for(a=0;a$a&&(Ca=z.isNative(k.JSON.parse,"window.JSON.parse")&& z.isNative(k.JSON.stringify,"window.JSON.stringify"),$a=(new Date).getTime());Ca||null!==xa||Nb()},handleProfileId:function(a,b){m.getLevel()!==m.DO_NOT_TRACK&&(c.bcSessionIdChanged(a)?(l&&c.logInfo("update cookie [BCSessionID] with profile id ["+a+"]"),c.setBcSessionId(a,b),q&&q.getId()!==a&&(t.getProfile(),g.submitBatch())):qb||(c.setBcSessionId(a,b),qb=!0),a&&c.getBcTempId(b)&&(c.setBcTempId(null,b),q&&!q.getId()&&function(a){this._id=a}.call(q,a)))},handleTempProfileId:function(a,b){a&&c.getBcTempId(b)!== a&&c.setBcTempId(a,b&&c.getBcTempId()?b:null,6E5)},log:function(a){T&&console.log("[BC]"+a)},logError:function(a){for(;-1!==a.indexOf("\x3cbr\x3e");)a=a.replace("\x3cbr\x3e","\n ");c.log("[ERROR] "+a);T&&console.trace&&(c.log("[ERROR] --stacktrace--"),console.trace(),c.log("[ERROR] --end stacktrace--"))},logWarning:function(a){l&&c.log("[WARNING] "+a)},logInfo:function(a){if(l){for(var b=(new Date).getTime()-Qb;-1!==a.indexOf("\x3cbr\x3e");)a=a.replace("\x3cbr\x3e","\n ");c.log("[INFO] "+ a+" +"+b+" ms")}},logDeprecated:function(a,b){l&&c.log("[DEPRECATED] function ["+a+"] is deprecated. \n Please use : "+b)},formatLocalDate:function(){var a=new Date,b=-a.getTimezoneOffset(),c=0<=b?"+":"-",e=function(a){a=Math.abs(Math.floor(a));return(10>a?"0":"")+a};return a.getFullYear()+"-"+e(a.getMonth()+1)+"-"+e(a.getDate())+"T"+e(a.getHours())+":"+e(a.getMinutes())+":"+e(a.getSeconds())+c+e(b/60)+":"+e(b%60)},getCurrentTime:function(){var a=new Date;return("0"+a.getHours()).slice(-2)+ ":"+("0"+a.getMinutes()).slice(-2)},objectToUrl:function(a){var b="",d;for(d in a){var e=a[d];if(c.isArray(e))for(var f=0;fDa||this._method!==g.SET_PROPERTIES&&this._method!==g.ADD_PROPERTIES&&this._method!==g.SEND_MAIL&&this._method!==g.CREATE_EVENT&&this._method!==g.CREATE_TIMELINE_EVENT||this._method===g.CREATE_EVENT&&this._param&&this._param.type&&"PAGEVIEW"===this._param.type[0])){var a="rev_"+this._id,b=c.stringifyObject({method:this._method, param:this._param,requestId:a}),d="BCRevision_"+this._id,e=function(){c.setCookie(d,b,0);var e=c.getCookie(d);if(!e){for(var e=c.getCookies(),e=c.getPropertiesFromObject(e),f=0,g=e.length;fB.cacheLength&&delete a[b.shift()];return a[c+" "]=d}var b=[]; return a}function e(a){a[H]=!0;return a}function f(a){var b=C.createElement("fieldset");try{return!!a(b)}catch(F){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function g(a,b){a=a.split("|");for(var c=a.length;c--;)B.attrHandle[a[c]]=b}function k(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)for(;c=c.nextSibling;)if(c===b)return-1;return a?1:-1}function l(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}} function n(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function m(a){return function(b){return"form"in b?b.parentNode&&!1===b.disabled?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&Ka(b)===a:b.disabled===a:"label"in b?b.disabled===a:!1}}function q(a){return e(function(b){b=+b;return e(function(c,d){for(var e,f=a([],c.length,b),x=f.length;x--;)c[e=f[x]]&&(c[e]=!(d[e]=c[e]))})})} function t(a){return a&&"undefined"!==typeof a.getElementsByTagName&&a}function u(){}function v(a){for(var b=0,c=a.length,d="";b+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,Ba=/=[\x20\t\r\n\f]*([^\]'"]*?)[\x20\t\r\n\f]*\]/g,Ca=/:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,Da=/^(?:\\.|[\w-]|[^\x00-\xa0])+$/,ia={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/, CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:/^((?:\\.|[\w-]|[^\x00-\xa0])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/, CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},Ea=/^(?:input|select|textarea|button)$/i,Ga=/^h\d$/i,ca= /^[^{]+\{\s*\[native \w/,Ja=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ra=/[+~]/,oa=/\\([\da-f]{1,6}[\x20\t\r\n\f]?|([\x20\t\r\n\f])|.)/ig,pa=function(a,b,c){a="0x"+b-65536;return a!==a||c?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)},za=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Aa=function(a,b){return b?"\x00"===a?"�":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},Fa=function(){L()},Ka=w(function(a){return!0===a.disabled&&"fieldset"=== a.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{ta.apply(Ia=qa.call(Z.childNodes),Z.childNodes),Ia[Z.childNodes.length].nodeType}catch(x){ta={apply:Ia.length?function(a,b){va.apply(a,qa.call(b))}:function(a,b){for(var c=a.length,d=0;a[c++]=b[d++];);a.length=c-1}}}G=b.support={};X=b.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};L=b.setDocument=function(a){var b;a=a?a.ownerDocument||a:Z;if(a===C||9!==a.nodeType||!a.documentElement)return C; C=a;ba=C.documentElement;aa=!X(C);Z!==C&&(b=C.defaultView)&&b.top!==b&&(b.addEventListener?b.addEventListener("unload",Fa,!1):b.attachEvent&&b.attachEvent("onunload",Fa));G.attributes=f(function(a){a.className="i";return!a.getAttribute("className")});G.getElementsByTagName=f(function(a){a.appendChild(C.createComment(""));return!a.getElementsByTagName("*").length});G.getElementsByClassName=ca.test(C.getElementsByClassName);G.getById=f(function(a){ba.appendChild(a).id=H;return!C.getElementsByName|| !C.getElementsByName(H).length});G.getById?(B.filter.ID=function(a){var b=a.replace(oa,pa);return function(a){return a.getAttribute("id")===b}},B.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&aa)return(a=b.getElementById(a))?[a]:[]}):(B.filter.ID=function(a){var b=a.replace(oa,pa);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}},B.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&aa){var c,d,e=b.getElementById(a); if(e){if((c=e.getAttributeNode("id"))&&c.value===a)return[e];d=b.getElementsByName(a);for(b=0;e=d[b++];)if((c=e.getAttributeNode("id"))&&c.value===a)return[e]}return[]}});B.find.TAG=G.getElementsByTagName?function(a,b){if("undefined"!==typeof b.getElementsByTagName)return b.getElementsByTagName(a);if(G.qsa)return b.querySelectorAll(a)}:function(a,b){var c=[],d=0;b=b.getElementsByTagName(a);if("*"===a){for(;a=b[d++];)1===a.nodeType&&c.push(a);return c}return b};B.find.CLASS=G.getElementsByClassName&& function(a,b){if("undefined"!==typeof b.getElementsByClassName&&aa)return b.getElementsByClassName(a)};N=[];M=[];if(G.qsa=ca.test(C.querySelectorAll))f(function(a){ba.appendChild(a).innerHTML="\x3ca id\x3d'"+H+"'\x3e\x3c/a\x3e\x3cselect id\x3d'"+H+"-\r\\' msallowcapture\x3d''\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";a.querySelectorAll("[msallowcapture^\x3d'']").length&&M.push("[*^$]\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||M.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)"); a.querySelectorAll("[id~\x3d"+H+"-]").length||M.push("~\x3d");a.querySelectorAll(":checked").length||M.push(":checked");a.querySelectorAll("a#"+H+"+*").length||M.push(".#.+[+~]")}),f(function(a){a.innerHTML="\x3ca href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect disabled\x3d'disabled'\x3e\x3coption/\x3e\x3c/select\x3e";var b=C.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name\x3dd]").length&&M.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?\x3d"); 2!==a.querySelectorAll(":enabled").length&&M.push(":enabled",":disabled");ba.appendChild(a).disabled=!0;2!==a.querySelectorAll(":disabled").length&&M.push(":enabled",":disabled");a.querySelectorAll("*,:x");M.push(",.*:")});(G.matchesSelector=ca.test(W=ba.matches||ba.webkitMatchesSelector||ba.mozMatchesSelector||ba.oMatchesSelector||ba.msMatchesSelector))&&f(function(a){G.disconnectedMatch=W.call(a,"*");W.call(a,"[s!\x3d'']:x");N.push("!\x3d",":((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?\x3d)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\.|[\\w-]|[^\x00-\\xa0])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")}); M=M.length&&new RegExp(M.join("|"));N=N.length&&new RegExp(N.join("|"));T=(b=ca.test(ba.compareDocumentPosition))||ca.test(ba.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a;b=b&&b.parentNode;return a===b||!!(b&&1===b.nodeType&&(c.contains?c.contains(b):a.compareDocumentPosition&&a.compareDocumentPosition(b)&16))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1};la=b?function(a,b){if(a===b)return P=!0,0;var c=!a.compareDocumentPosition-!b.compareDocumentPosition; if(c)return c;c=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;return c&1||!G.sortDetached&&b.compareDocumentPosition(a)===c?a===C||a.ownerDocument===Z&&T(Z,a)?-1:b===C||b.ownerDocument===Z&&T(Z,b)?1:K?Ha(K,a)-Ha(K,b):0:c&4?-1:1}:function(a,b){if(a===b)return P=!0,0;var c=0,d=a.parentNode,e=b.parentNode,f=[a],g=[b];if(!d||!e)return a===C?-1:b===C?1:d?-1:e?1:K?Ha(K,a)-Ha(K,b):0;if(d===e)return k(a,b);for(;a=a.parentNode;)f.unshift(a);for(a=b;a=a.parentNode;)g.unshift(a); for(;f[c]===g[c];)c++;return c?k(f[c],g[c]):f[c]===Z?-1:g[c]===Z?1:0};return C};b.matches=function(a,c){return b(a,null,null,c)};b.matchesSelector=function(a,c){(a.ownerDocument||a)!==C&&L(a);c=c.replace(Ba,"\x3d'$1']");if(!(!G.matchesSelector||!aa||da[c+" "]||N&&N.test(c)||M&&M.test(c)))try{var d=W.call(a,c);if(d||G.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(ma){da(c)}return 0a.nodeType)return!1;return!0},parent:function(a){return!B.pseudos.empty(a)},header:function(a){return Ga.test(a.nodeName)},input:function(a){return Ea.test(a.nodeName)},button:function(a){var b= a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:q(function(){return[0]}),last:q(function(a,b){return[b-1]}),eq:q(function(a,b,c){return[0>c?c+b:c]}),even:q(function(a,b){for(var c=0;cc?c+b:c;0<=--b;)a.push(b); return a}),gt:q(function(a,b,c){for(c=0>c?c+b:c;++c